babl: actually reverse preceding change
authorØyvind Kolås <pippin@gimp.org>
Fri, 8 Sep 2017 16:35:16 +0000 (18:35 +0200)
committerØyvind Kolås <pippin@gimp.org>
Fri, 8 Sep 2017 16:36:28 +0000 (18:36 +0200)
babl/babl-util.c

index 9148aff6f5686ba303796df7a851c6800d648a61..01a5e978a6211d0a6fa230e99e367ade23b567a4 100644 (file)
@@ -91,7 +91,7 @@ babl_rel_avg_error (const double *imgA,
   for (i = 0; i < samples; i++)
     error += fabs (imgA[i] - imgB[i]);
 
-  if (error <= 0.000001)
+  if (error >= 0.000001)
     error /= samples;
   else
     error = 0.0;